package com.tiancheng.onecode.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tiancheng.onecode.entity.User;
import com.tiancheng.onecode.model.request.admin.MerchantQueryReq;
import com.tiancheng.onecode.model.request.admin.MerchantUserQueryReq;
import com.tiancheng.onecode.model.response.admin.MerchantUserQueryRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: kellen
 * @Description: B端用户管理 mapper
 * @Date: create in 2024/12/9 18:11
 */
@Mapper
public interface UserMapper extends MYBaseMapper<User> {
    IPage<MerchantUserQueryRes> queryPage(IPage<User> page, @Param("c") MerchantUserQueryReq params);
    MerchantUserQueryRes queryDetailByPmuId(@Param("pmuId")Long pmuId);

}
